package org.lq.his.controller;

import java.util.HashMap;
import java.util.Map;

import org.lq.his.pojo.Role;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
@RequestMapping("/seeDoctor")
public class SeeDoctorController {
	
	@RequestMapping("/patientListIndex")
	public String index()throws Exception{
		//查询当前医生今日待看病人
		return "seeDoctor/patientListIndex";
	}
	
	@RequestMapping("/patientList")
	@ResponseBody
	public Map<String, String> patientList(Integer page,Integer rows,@RequestParam(defaultValue="id")String sort,@RequestParam(defaultValue="asc")String order,Role condition)throws Exception{
		
		String result = "";
		Map<String, String> map = new HashMap<>();
		map.put("result", result);
		return map;
		
	}
	
	
}
